<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{listadoAnulacionSolicitud.page1}" id="page1">
            <ui:html binding="#{listadoAnulacionSolicitud.html1}" id="html1">
                <ui:head binding="#{listadoAnulacionSolicitud.head1}" id="head1">
                    <ui:link binding="#{listadoAnulacionSolicitud.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{listadoAnulacionSolicitud.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{listadoAnulacionSolicitud.form1}" id="form1">
                        <ui:table augmentTitle="false" binding="#{listadoAnulacionSolicitud.table1}" clearSortButton="true" id="table1" paginateButton="true"
                            paginationControls="true" sortPanelToggleButton="true" style="left: 72px; top: 312px; position: absolute; width: 674px"
                            title="Solicitudes" width="674">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{listadoAnulacionSolicitud.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{listadoAnulacionSolicitud.sct0022DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn1}" headerText="No. Solicitud" id="tableColumn1" sort="NMROSLCTUD">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText1}" id="staticText1" text="#{currentRow.value['NMROSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn15}" headerText="Nit" id="tableColumn15" sort="NIT">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText15}" id="staticText15" text="#{currentRow.value['NIT']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn3}" headerText="Producto" id="tableColumn3" sort="SCT0022.CDGOPRDCTO">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText3}" id="staticText3" text="#{currentRow.value['CDGOPRDCTO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn5}" headerText="Sublinea" id="tableColumn5" sort="SCT0022.CDGOSBLNEA">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText5}" id="staticText5" text="#{currentRow.value['CDGOSBLNEA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn6}" headerText="Tipo de Solicitud" id="tableColumn6" sort="SCT0022.CDGOTPOSLCTUD">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText7}" id="staticText7" text="#{currentRow.value['CDGOTPOSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn12}" headerText="1er Apellido" id="tableColumn12" sort="PRMERAPLLDO">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText12}" id="staticText12" text="#{currentRow.value['PRMERAPLLDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn4}" headerText="2o Apellido" id="tableColumn4" sort="SGNDOAPLLDO">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText4}" id="staticText4" text="#{currentRow.value['SGNDOAPLLDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn14}" headerText="Nombre" id="tableColumn14" sort="NMBRE">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText14}" id="staticText14" text="#{currentRow.value['NMBRE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn8}" headerText="Etapa" id="tableColumn8" sort="CDGOETPA">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText8}" id="staticText8" text="#{currentRow.value['CDGOETPA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listadoAnulacionSolicitud.tableColumn16}" headerText="Monto" id="tableColumn16" sort="MNTO" width="80">
                                    <ui:staticText binding="#{listadoAnulacionSolicitud.staticText16}" id="staticText16" text="#{currentRow.value['MNTO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{listadoAnulacionSolicitud.tableColumn2}" id="tableColumn2">
                                    <ui:button action="#{listadoAnulacionSolicitud.button1_action}" binding="#{listadoAnulacionSolicitud.button1}" id="button1"
                                        mini="true" onClick="" primary="true" text="Anular"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:staticText binding="#{listadoAnulacionSolicitud.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 264px; top: 168px; position: absolute" text="Listado de Anluación de Solicitudes"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="encab1.jspf"/>
                        </div>
                        <h:panelGrid binding="#{listadoAnulacionSolicitud.gridPanel1}" columns="2" id="gridPanel1"
                            style="height: 72px; left: 72px; top: 216px; position: absolute" width="456">
                            <ui:label binding="#{listadoAnulacionSolicitud.label1}" id="label1" text="Producto:"/>
                            <ui:staticText binding="#{listadoAnulacionSolicitud.staticText2}" id="staticText2" text="#{listadoAnulacionSolicitud.sct0004DataProvider.value['SCT0004.DSCRPCION']}"/>
                            <ui:label binding="#{listadoAnulacionSolicitud.label4}" id="label4" text="Agencia:"/>
                            <ui:staticText binding="#{listadoAnulacionSolicitud.staticText6}" id="staticText6" text="#{listadoAnulacionSolicitud.sct0045DataProvider.value['SCT0045.NMBREAGNCIA']}"/>
                        </h:panelGrid>
                        <ui:button action="#{listadoAnulacionSolicitud.button2_action}" binding="#{listadoAnulacionSolicitud.button2}" id="button2" mini="true"
                            primary="true" style="left: 48px; top: 144px; position: absolute; width: 71px" text="Cerrar"/>
                        <ui:button action="#{listadoAnulacionSolicitud.button3_action}" binding="#{listadoAnulacionSolicitud.button3}" id="button3" mini="true"
                            primary="true" style="left: 144px; top: 144px; position: absolute; width: 71px" text="Regresar"/>
                        <ui:hiddenField binding="#{listadoAnulacionSolicitud.controlBorrarHF}" id="controlBorrarHF"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
